from django.test import TestCase

# Create your tests here.


import requests

url = 'http://127.0.0.1:8081/article/add_article/'
data = {'title':'zhiliao','content':'bbb'}
resp = requests.post(url=url,data=data)
print(resp.text)